@extends('admin.defaults.head')
@section('title','标题')
@section('body')

    {{--请在下面编辑body 内容--}}
    <div class="layui-form layui-form-pane" lay-filter="layuiadmin-form-role" id="layuiadmin-form-role" style="padding: 20px;background: #fff;">
   {{--     <div class="layui-form-item">
            <label class="layui-form-label">用户名</label>
            <div class="layui-input-block">
                <input type="text" name="username"   lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">
            </div>
        </div>--}}


        <div class="layui-form-item">
            <label class="layui-form-label">性别</label>
            <div class="layui-input-block">
                <input type="radio" name="sex" value="2" title="女" >
                <input type="radio" name="sex" value="1" title="男" >
                <input type="radio" name="sex" value="0" title="未知" checked="">

            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">姓名</label>
            <div class="layui-input-block">
                <input type="text" name="realname"   lay-verify="" placeholder="请输入姓名" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">头像地址</label>
            <div class="layui-input-block" style="text-align: center">
                <img  id="touxiang_show_img" style="width: 100%;max-height: 222px;margin-bottom: 10px" alt="">
                <input type="hidden" name="touxiang"  id="touxiang">
                <button type="button" class="layui-btn" id="touxiang_upload"><i class="layui-icon"></i>上传图片</button>

                <button class="layui-btn layui-btn-danger "  onclick="deleimg()">
                    <i class="layui-icon layui-icon-delete"></i>删除图片</button>

            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">电话号码</label>
            <div class="layui-input-block">
                <input type="text" name="mobile"   lay-verify="" placeholder="请输入电话号码" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">nick</label>
            <div class="layui-input-block">
                <input type="text" name="nick"   lay-verify="" placeholder="请输入nick" autocomplete="off" class="layui-input">
            </div>
        </div>


        <div class="layui-form-item layui-hide">
            <button class="layui-btn" lay-submit lay-filter="LAY-user-role-submit" id="LAY-user-role-submit">提交</button>
        </div>
    </div>

    {{--上方body内容结束   请在下面编辑script 内容--}}


@endsection
@section('script')
<script src="/style_js_admin/viewjs/defaults/admin/editmyinfo.blade.js?2021_08_26_06_42_23"></script>
@endsection